package com.generator.statics.customerSalesStatics.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author shkstart
 * @create 2022-10-02 10:10
 * 多条件查询
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomCountCondition {
    /**
     * 客户id
     */

    private Integer customid;
    /**
     * 省份名称
     */

    private String pName;
    /**
     * 市名称
     */

    private String cName;
    /**
     * 客户名
     */

    private String customname;

    /**
     * 订单时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-dd")
    private Date ordertime1;

     private String time01;
    /**
     * 订单时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-dd")
    private Date ordertime2;

    private String time02;


}
